let mongoose = require('./db')

const Schema = mongoose.Schema

const accountNumberSchema = new Schema({
    phone: Number,
    password: String,
    isLogin: {
        type: Boolean,
        default: false
    }
})

const accountNumberModel = mongoose.model('accountNumber', accountNumberSchema, 'accountNumber')

// accountNumberModel.create({
//     phone:15533335892,
//     password:'admin123'
// })



module.exports = { accountNumberModel }